@extends('admin')

@section('content')

    <div class="nav">
        <ul class="cc">
            <li class="current">
                <a href="{{url('admin/sys/repass')}}">修改密码</a>
            </li>
        </ul>
    </div>

    <form action="{{url('admin/sys/repass')}}" method="POST" class="J_ajaxForm">

        <div class="h_a">修改密码</div>
        <div class="table_full">

            <table width="100%">
                <colgroup>
                    <col class="th">
                    <col>
                </colgroup>
                <tbody>
                <tr>
                    <th>账户名：</th>
                    <td>{{Auth::user()->name}}</td>
                </tr>
                <tr>
                    <th>昵称：</th>
                    <td>{{Auth::user()->nick}}</td>
                </tr>
                <tr>
                    <th>原密码：</th>
                    <td>
                        <input type="hidden" name="_token" value="{{ csrf_token() }}">
                        <input type="password" name="opwd" class="input" />
                    </td>
                </tr>
                <tr>
                    <th>新密码：</th>
                    <td>
                        <input type="password" name="password" class="input"/>
                    </td>
                </tr>
                <tr>
                    <th>确认新密码：</th>
                    <td>
                        <input type="password" name="password_confirmation" class="input"/>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>

        <div class="btn_wrap">
            <div class="btn_wrap_pd">
                <button type="submit" class="btn btn_submit mr10 J_ajax_submit_btn">修改</button>
            </div>
        </div>

    </form>

@endsection
